package study.member.sungil.oop2.polymorphism;

public class Buyer {
	
	int money = 1000;
	int bonusPoint = 0;
	
	void buy(Product p){
		money = money - p.price;
		bonusPoint =  bonusPoint + p.bonusPoint;
	}

}
